package com.ruoyi.school.domain;

import com.fasterxml.jackson.annotation.JsonFormat;
import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.ToString;
import lombok.experimental.Accessors;
import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;
import com.ruoyi.common.annotation.Excel;
import com.ruoyi.common.core.domain.BaseEntity;

import java.util.List;

/**
 * 主表模块对象 love
 * 
 * @author ruoyi
 * @date 2024-04-10
 */
@Data
@Accessors(chain = true)

public class Love extends BaseEntity
{
    private static final long serialVersionUID = 1L;

    /** id */
    private Long id;

    /** 用户id */
    @Excel(name = "用户id")
    private Long userId;

    /** 用户名称 */
    @Excel(name = "用户名称")
    private String userName;

    /** 内容 */
    @Excel(name = "内容")
    private String content;

    /** 用户头像 */
    @Excel(name = "用户头像")
    private String userPic;

    /** 点赞 */
    @Excel(name = "点赞")
    private Long zanId;

    @Excel(isExport = false)
    private List<Dianzan> dianzanList;


    @Excel(name = "图片id")
    private  Long picUrlId;

    private  List<PicUrl> picUrls;

    private  List<String> urls;
    /** 评论 */
    @Excel(name = "评论")
    private Long pingId;

    private int PingCount;

    private  List<Common> commonList;

    /** 浏览量 */
    @Excel(name = "浏览量")
    private Long viewCount;

    /** 置顶 */
    @Excel(name = "置顶")
    private String top;

    /** 删除 */
    @Excel(name = "删除")
    private String deleteFlag;

    /** 发布 */
    @Excel(name = "发布")
    private String pushAble;

    /** 类型 */
    @Excel(name = "类型")
    private Long type;

    /** 物品类型 */
    @Excel(name = "物品类型")
    private Long twoheadType;

    /** 价格 */
    @Excel(name = "价格")
    private Double price;

    /** 几成新 */
    @Excel(name = "几成新")
    private String news;

    /** 联系方式 */
    @Excel(name = "联系方式")
    private String tel;


    @Excel(name = "类型")
    private String typeName;


    @Excel(name = "失物招领")
    private Long zhaolingType;

    @Excel(name = "关注")
    private Long isguan;

    @Excel(name = "关注")
    private Long isdian;

    private long loginId;

    private String address;

    private String findTime;

    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss")
    private Double souPrice;


}
